
import com.agentfactory.logic.update.util.DefaultLogicFactory;
import com.agentfactory.logic.update.util.DefaultLogicPresenter;
import com.agentfactory.logic.update.util.ILogicFactory;
import com.agentfactory.logic.update.util.ILogicPresenter;
import com.agentfactory.platform.core.AgentCreationException;
import com.agentfactory.teleoreactive.interpreter.ScriptBasedTeleoReactiveAgent;



public class Main {
	public static ILogicFactory factory = new DefaultLogicFactory();
	public static ILogicPresenter presenter = new DefaultLogicPresenter();

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		ScriptBasedTeleoReactiveAgent age = new ScriptBasedTeleoReactiveAgent("Sean");
		try {
			age.construct("com/agentfactory/teleoreactive/compiler/test/test.aftr");
//			for(int i = 0; i <15;i++)
				age.execute();
		} catch (AgentCreationException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}

}
